<template lang="html">
  <div class="home">
    <HomeHeader />
    <BannerLbt :banners="bannerData"/>
    <div class="store">
        <div class="store-nav">
            <img :src="storeNav" alt="">
        </div>

        <div class="store-hot">
            <img :src="storeHot" alt="">
            <img :src="storeNew" alt="">
        </div>
    </div>
    <CategoryBlock :categoryDate="categoryDate"/>
    <FooterNav />
  </div>
</template>

<script>
import FooterNav from "../components/footNav";
import HomeHeader from "../components/homeHeader"
import BannerLbt from "../components/bannerlbt"
import CategoryBlock from "../components/categoryblock"

export default {
    name: 'Home',
    data(){
        return {
            storeNav:"",
            storeHot:"",
            storeNew:"",
            bannerData:[],
            categoryDate:[]
        }
    },
    components:{
        FooterNav,
        HomeHeader,
        BannerLbt,
        CategoryBlock
    },
    mounted(){
        // this.$axios.get(this.HOST + '/data/home?asid=5bfbcf6dea5ec8658&_r=0.6416059942048242&reflogid=5bfc9efab16b58561&cart_pids=&location=116.340943%2C40.068956&defPid=&designated_dealerid=#')
        // .then(r => {
        //     let tmp = eval('(' + r.data + ')');
        let tmp = {"errno":0,"errmsg":"ok","logid":"5bff8e442a6e79300","data":{"dealer":{"id":"5198","province":"1","city_short":"2","area":"15","first_dealer":"20","parent_id":"3428","layer":"3","number":"001006148","dealer_name":"怡嘉便利店","dealer_alias":"爱鲜蜂(瑞旗家园店)","coordinate1":"116.3684","coordinate2":"40.072415","city":"北京市","address":"北京市昌平区建材城东路瑞旗家园30号楼108室","own_mobile":"18515277556","dealermobile":"","status":"1","WorkBegin":"09:00","WorkEnd":"23:00","IsGold":"1","range":"0","order_base":"0","isbig":"0","balance_strategy_num":"30","order_limit":"10","order_limit_status":"0","adc_id":"8201","is_self":"0","shop_type":"0","auto_dispatch":"0","is_pickup":"1","is_tomorrow":"0","tomorrow_capacity":"30","IsTest":"0","is_del":"0","night_delivery_open":"1","purchase_type":"1","protected_area":"{\"+\":[[\"116.368328,40.07274\",\"116.369253,40.072698\",\"116.369127,40.072256\",\"116.368328,40.07218\"],[\"116.363001,40.076846\",\"116.359488,40.071194\",\"116.36115,40.064554\",\"116.373286,40.070966\",\"116.375299,40.073858\"]],\"-\":[]}","zchtid":"5198","cityid":"2","lng":"116.3684","lat":"40.072415","open":"09:00","close":"23:00","mobile":"18515277556","name":"怡嘉便利店","distance":"2.3663322788637","_distance":"2.3663322788637","wx_is_qr":"0","is_fav":"0","had_weixin_qrcode":false,"outofservice":"0","bigids":"2,0","self_dealer":"0","message":"","sysconf":{"not_freight":"100","min_amount":"30"},"business":[{"str":[{"day":"今天","time":["30分钟送达","15:00-16:00","16:00-17:00","17:00-18:00","18:00-19:00","19:00-20:00","20:00-21:00","21:00-22:00","22:00-23:00"],"dateid":"0"},{"day":"明天","time":["09:00-10:00","10:00-11:00","11:00-12:00","12:00-13:00","13:00-14:00","14:00-15:00","15:00-16:00","16:00-17:00","17:00-18:00","18:00-19:00","19:00-20:00","20:00-21:00","21:00-22:00","22:00-23:00"],"dateid":"1"},{"day":"后天","time":["09:00-10:00","10:00-11:00","11:00-12:00","12:00-13:00","13:00-14:00","14:00-15:00","15:00-16:00","16:00-17:00","17:00-18:00","18:00-19:00","19:00-20:00","20:00-21:00","21:00-22:00","22:00-23:00"],"dateid":"2"}],"ext":"可预定","id":"0","title":"闪送超市"},{"str":[{"day":"明天","time":["10:00-20:00"],"dateid":"1"}],"ext":"","id":"1","title":"新鲜预订"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10000","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10001","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10002","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10003","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10004","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10005","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10006","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10007","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10008","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10009","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10010","title":"鲜货直供"},{"str":[{"day":"3-5天","time":["10:00-20:00"],"dateid":"2"}],"ext":"","id":"10011","title":"鲜货直供"}],"timestamp":"1543474756","pickup_time":"店铺当天营业时间内"},"location_hash":"38223drzBSuF1OOw+eTP7V/JgZFbLMQGgtCblTB65VGY7Xowsu7to6wx+InQmUo6diF1yRBTowRA","cart_ids":[],"have_tmr":"0","support_deal_type":"1","tomorrow_navbar_img":"","act_info":[{"act_rows":[{"sort":"0","func_sort":"0","activity":{"id":"22252","name":"暖意十足，食力大开喽","img":"http://img01.bqstatic.com//upload/activity/2018102622530778.png@90Q.png","topimg":"http://img01.bqstatic.com//upload/activity/2018102622530778.png@90Q.png","jptype":"11","sort":"0","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"nuanyishizushilidakai","trackid":"focus1|22252"},"show_reload":"1","hide_cart":"0","trackid":"focus1|22252"},"good_type":"0","shop_type":"2"}],"type":"focus","sort":"0"},{"act_rows":[{"sort":"5","func_sort":"0","activity":{"id":"20206","name":"大转盘","img":"http://img01.bqstatic.com//upload/activity/2017070411343064.png","topimg":"http://img01.bqstatic.com//upload/activity/2017070411343064.png@90Q.png","jptype":"11","sort":"5","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"zhuanpan","trackid":"icon1|20206"},"show_reload":"1","hide_cart":"1","trackid":"icon1|20206"},"good_type":"0","shop_type":"2"}],"type":"icon","sort":"1"},{"act_rows":[{"sort":"0","func_sort":"0","activity":{"id":"21402","name":"小店活动","img":"http://img01.bqstatic.com/@90Q","topimg":"http://img01.bqstatic.com/@90Q","jptype":"11","sort":"0","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"xiaodianhuodong","trackid":""},"show_reload":"1","hide_cart":"0","trackid":""},"good_type":"0","shop_type":"4"},{"sort":"0","func_sort":"0","activity":{"id":"21416","name":"新鲜预订－优形速食鸡肉","img":"http://img01.bqstatic.com/@90Q","topimg":"http://img01.bqstatic.com/@90Q","jptype":"11","sort":"0","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"xinxianyudingyouxingsushijirou","trackid":""},"show_reload":"1","hide_cart":"0","trackid":""},"good_type":"0","shop_type":"4"},{"sort":"1","func_sort":"0","activity":{"id":"21453","name":"限量抢购","img":"http://img01.bqstatic.com/@90Q","topimg":"http://img01.bqstatic.com/@90Q","jptype":"11","sort":"1","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"xinxianyudingxianliangqianggou","trackid":""},"show_reload":"1","hide_cart":"0","trackid":""},"good_type":"0","shop_type":"4"}],"type":"hide","sort":"3"},{"act_rows":[],"type":"brand","sort":"4","head_img":"http://img01.bqstatic.com//upload/activity/201612161638105.png@90Q.png"},{"act_rows":[{"act_rows":[{"sort":"0","good_type":"0","shop_type":"2","chead_detail":{"name":"闪送超市","shuf_new_img":"/upload/activity/2017041418160932.png","style_group":{"cactivity":"1","cicons":"1","cscene":"2"},"target_type":"0","img":"http://img01.bqstatic.com//upload/activity/201705221117303.png@90Q.png","cms_id":"1464"}}],"type":"chead","sort":"1"},{"act_rows":[{"sort":"0","good_type":"0","shop_type":"4","cactivity_detail":{"name":"热销榜","target_type":"12","category_id":"104747","shuf_new_img":"/upload/activity/2017072520125023.jpg","img":"http://img01.bqstatic.com//upload/activity/2016092417285271.jpg@90Q.jpg"}},{"sort":"0","good_type":"0","shop_type":"4","cactivity_detail":{"name":"新品尝鲜","target_type":"12","category_id":"104747","shuf_new_img":"/upload/activity/2017072520123631.jpg","img":"http://img01.bqstatic.com//upload/activity/2017030919451621.jpg@90Q.jpg"}}],"type":"cactivity","sort":"2"}],"type":"business","sort":"5","cms_id":"1464"},{"act_rows":[{"sort":"2","func_sort":"0","activity":{"id":"21870","name":"酸奶控","img":"http://img01.bqstatic.com//upload/activity/2016093011213251.jpg@90Q.jpg","topimg":"http://img01.bqstatic.com//upload/activity/2016093011213251.jpg@90Q.jpg","jptype":"11","sort":"2","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"suannainvwang","trackid":"category1|21870"},"show_reload":"1","hide_cart":"0","trackid":"category1|21870"},"good_type":"0","shop_type":"2","category_detail":{"name":"牛奶面包","category_color":"E80013","target_type":"12","category_id":"103536","shuf_new_img":"/upload/activity/2018042511591218.jpg","style":"1","goods":[{"id":"6600","name":"蒙牛利乐枕纯牛奶","long_name":"蒙牛利乐枕纯牛奶240ml","store_nums":"200","specifics":"240ml","attribute":"","sort":"31000499","brand_id":"23","brand_name":"蒙牛","hot_degree":"0","safe_day":"0","safe_unit":"1","market_price":"3","pcid":"55","partner_price":"3","ismix":"0","pre_img":"0000006600.jpg","pre_imgs":"0000006600_8482.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"蒙牛,纯牛奶,利乐枕,乳制品","product_num":"74","no_col":"0","org_source_value":"2","storage":"3","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103538":{"103536":"牛奶面包"}},"cids":{"103538":"牛奶豆浆"},"category_id":"103536","cid":"103536","child_cid":"103538","product_id":"6600","price":"3.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/6600/0000006600.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/6600/0000006600.jpg@200w_200h_90Q"},{"id":"11276","name":"蒙牛冠益乳椰果味","long_name":"蒙牛冠益乳椰果味250g","store_nums":"200","specifics":"250g","attribute":"","sort":"21001199","brand_id":"23","brand_name":"蒙牛","hot_degree":"0","safe_day":"21","safe_unit":"1","market_price":"6.5","pcid":"55","partner_price":"6.5","ismix":"0","pre_img":"20170908222119_618357.jpg","pre_imgs":"20170908222124_949250.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"蒙牛冠益乳椰果味，蒙牛，冠益乳椰果味","product_num":"0","no_col":"0","org_source_value":"2","storage":"2","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103537":{"103536":"牛奶面包"}},"cids":{"103537":"酸奶乳酸菌"},"category_id":"103536","cid":"103536","child_cid":"103537","product_id":"11276","price":"6.30","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/709/0822/20170908222119_618357.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/709/0822/20170908222119_618357.jpg@200w_200h_90Q"},{"id":"5504","name":"蒙牛利乐枕纯牛奶箱","long_name":"蒙牛利乐枕纯牛奶箱240.0ml*16袋","store_nums":"200","specifics":"240ml*16袋","attribute":"","sort":"31000499","brand_id":"23","brand_name":"蒙牛","hot_degree":"0","safe_day":"0","safe_unit":"1","market_price":"38","pcid":"55","partner_price":"38","ismix":"0","pre_img":"0000005504.jpg","pre_imgs":"0000005504_6247.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"蒙牛,利乐,枕,纯牛奶,常温牛奶,乳制品,闪送超市,","product_num":"8","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103538":{"103536":"牛奶面包"}},"cids":{"103538":"牛奶豆浆"},"category_id":"103536","cid":"103536","child_cid":"103538","product_id":"5504","price":"43.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/5504/0000005504.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/5504/0000005504.jpg@200w_200h_90Q"}]}},{"sort":"4","func_sort":"0","activity":{"id":"21866","name":"麻辣诱惑","img":"http://img01.bqstatic.com//upload/activity/2016092318512099.jpg@90Q.jpg","topimg":"http://img01.bqstatic.com//upload/activity/2016092318512099.jpg@90Q.jpg","jptype":"11","sort":"4","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"yasewang","trackid":"category1|21866"},"show_reload":"1","hide_cart":"0","trackid":"category1|21866"},"good_type":"0","shop_type":"4","category_detail":{"name":"卤味熟食","category_color":"7B4D03","target_type":"12","category_id":"103581","shuf_new_img":"/upload/activity/2017072420221954.jpg","style":"1","goods":[{"id":"109196","name":"飘香卤鱼豆腐(微辣)","long_name":"飘香卤鱼豆腐(微辣)138g/盒","store_nums":"200","specifics":"138g/盒","attribute":"","sort":"3","brand_id":"1727","brand_name":"飘香","hot_degree":"0","safe_day":"10","safe_unit":"1","market_price":"18","pcid":"55","partner_price":"12","ismix":"0","pre_img":"20180517112640_094432.jpg","pre_imgs":"20180517112644_292198.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"5","pre_state":"0","keywords":"飘香卤鱼豆腐(微辣)","product_num":"93","no_col":"0","org_source_value":"2","storage":"2","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103582":{"103581":"卤味熟食"}},"cids":{"103582":"卤味熟食"},"category_id":"103581","cid":"103581","child_cid":"103582","product_id":"109196","price":"12.00","number":"5","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/805/1711/20180517112640_094432.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/805/1711/20180517112640_094432.jpg@200w_200h_90Q"},{"id":"97189","name":"飘香鸭脖微辣","long_name":"飘香鸭脖微辣168g","store_nums":"200","specifics":"168g","attribute":"","sort":"5","brand_id":"1727","brand_name":"飘香","hot_degree":"0","safe_day":"12","safe_unit":"1","market_price":"20","pcid":"55","partner_price":"17","ismix":"0","pre_img":"20180517112702_375246.jpg","pre_imgs":"20180517112707_632678.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"5","pre_state":"0","keywords":"飘香鸭脖微辣","product_num":"129","no_col":"0","org_source_value":"2","storage":"2","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103582":{"103581":"卤味熟食"}},"cids":{"103582":"卤味熟食"},"category_id":"103581","cid":"103581","child_cid":"103582","product_id":"97189","price":"16.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/805/1711/20180517112702_375246.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/805/1711/20180517112702_375246.jpg@200w_200h_90Q"},{"id":"101654","name":"飘香卤水冒腐竹(微辣)","long_name":"飘香卤水冒腐竹(微辣)140g","store_nums":"200","specifics":"140g","attribute":"","sort":"11","brand_id":"1727","brand_name":"飘香","hot_degree":"0","safe_day":"10","safe_unit":"1","market_price":"16","pcid":"55","partner_price":"12","ismix":"0","pre_img":"20180517112400_433353.jpg","pre_imgs":"20180517112404_697656.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"5","pre_state":"0","keywords":"飘香卤水冒腐竹(微辣)","product_num":"55","no_col":"0","org_source_value":"2","storage":"2","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103582":{"103581":"卤味熟食"}},"cids":{"103582":"卤味熟食"},"category_id":"103581","cid":"103581","child_cid":"103582","product_id":"101654","price":"10.00","number":"5","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/805/1711/20180517112400_433353.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/805/1711/20180517112400_433353.jpg@200w_200h_90Q"}]}},{"sort":"6","func_sort":"0","activity":{"id":"22042","name":"饮料酒水","img":"http://img01.bqstatic.com//upload/activity/201610121826404.jpg@90Q.jpg","topimg":"http://img01.bqstatic.com//upload/activity/201610121826404.jpg@90Q.jpg","jptype":"11","sort":"6","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"jiushuiyinl","trackid":"category1|22042"},"show_reload":"1","hide_cart":"0","trackid":"category1|22042"},"good_type":"0","shop_type":"4","category_detail":{"name":"饮料酒水","category_color":"E80013","target_type":"12","category_id":"103549","shuf_new_img":"/upload/activity/2017102517223197.jpg","style":"1","goods":[{"id":"2198","name":"可口可乐汽水","long_name":"可口可乐汽水330ml","store_nums":"200","specifics":"330ml/罐","attribute":"","sort":"2","brand_id":"7","brand_name":"可口可乐","hot_degree":"0","safe_day":"365","safe_unit":"1","market_price":"2.5","pcid":"55","partner_price":"2.5","ismix":"0","pre_img":"0000002198.jpg","pre_imgs":"0000002198_17477.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"可口可乐,碳酸饮料","product_num":"108","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103552":{"103549":"饮料酒水"}},"cids":{"103552":"碳酸饮料"},"category_id":"103549","cid":"103549","child_cid":"103552","product_id":"2198","price":"3.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/2198/0000002198.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/2198/0000002198.jpg@200w_200h_90Q"},{"id":"2208","name":"农夫水溶C100柠檬","long_name":"农夫水溶C100柠檬445ml","store_nums":"200","specifics":"445ml/瓶","attribute":"","sort":"4","brand_id":"11","brand_name":"农夫山泉","hot_degree":"0","safe_day":"365","safe_unit":"1","market_price":"5","pcid":"55","partner_price":"5","ismix":"0","pre_img":"0000002208_39990.jpg","pre_imgs":"0000002208_57950.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"水溶,C100,柠檬味,饮料","product_num":"25","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103553":{"103549":"饮料酒水"}},"cids":{"103553":"功能饮料"},"category_id":"103549","cid":"103549","child_cid":"103553","product_id":"2208","price":"5.50","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/2208/0000002208_39990.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/2208/0000002208_39990.jpg@200w_200h_90Q"},{"id":"2427","name":"百事可乐","long_name":"百事可乐330ml","store_nums":"200","specifics":"330ml","attribute":"","sort":"6","brand_id":"82","brand_name":"百事","hot_degree":"0","safe_day":"365","safe_unit":"1","market_price":"2.5","pcid":"55","partner_price":"2.5","ismix":"0","pre_img":"20160817115353_433821.jpg","pre_imgs":"20160817115358_530865.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"百事,可乐,碳酸饮料","product_num":"23","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103552":{"103549":"饮料酒水"}},"cids":{"103552":"碳酸饮料"},"category_id":"103549","cid":"103549","child_cid":"103552","product_id":"2427","price":"3.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/608/1711/20160817115353_433821.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/608/1711/20160817115353_433821.jpg@200w_200h_90Q"}]}},{"sort":"7","func_sort":"0","activity":{"id":"21878","name":"必备小零嘴","img":"http://img01.bqstatic.com//upload/activity/2016120115182553.jpg@90Q.jpg","topimg":"http://img01.bqstatic.com//upload/activity/2016120115182553.jpg@90Q.jpg","jptype":"11","sort":"7","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"lingzuinvwang","trackid":"category1|21878"},"show_reload":"1","hide_cart":"0","trackid":"category1|21878"},"good_type":"0","shop_type":"4","category_detail":{"name":"休闲零食","category_color":"E80013","target_type":"12","category_id":"103541","shuf_new_img":"/upload/activity/20170803190324100.jpg","style":"1","goods":[{"id":"115291","name":"乐事美国经典原味薯片","long_name":"乐事美国经典原味薯片70g","store_nums":"200","specifics":"70g","attribute":"","sort":"7","brand_id":"31","brand_name":"乐事","hot_degree":"0","safe_day":"9","safe_unit":"2","market_price":"6.5","pcid":"55","partner_price":"6.5","ismix":"0","pre_img":"20160922153553_377116.jpg","pre_imgs":"20160922153604_448173.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"乐事,薯片,经典原味,休闲零食,零食小吃","product_num":"38","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"月","c_layer":"2","p_cids":{"103543":{"103541":"休闲零食"}},"cids":{"103543":"膨化食品"},"category_id":"103541","cid":"103541","child_cid":"103543","product_id":"115291","price":"6.50","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/609/2215/20160922153553_377116.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/609/2215/20160922153553_377116.jpg@200w_200h_90Q"},{"id":"6023","name":"家缘好吃点锅巴牛肉味","long_name":"家缘好吃点锅巴牛肉味102g","store_nums":"200","specifics":"102g","attribute":"","sort":"8","brand_id":"244","brand_name":"家缘","hot_degree":"0","safe_day":"0","safe_unit":"1","market_price":"3.5","pcid":"55","partner_price":"3.5","ismix":"0","pre_img":"0000006023_16780.jpg","pre_imgs":"0000006023_80760.jpg,","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"家缘,好吃点,锅巴,牛肉味,休闲零食,闪送超市,","product_num":"43","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103543":{"103541":"休闲零食"}},"cids":{"103543":"膨化食品"},"category_id":"103541","cid":"103541","child_cid":"103543","product_id":"6023","price":"3.50","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/6023/0000006023_16780.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/6023/0000006023_16780.jpg@200w_200h_90Q"},{"id":"5945","name":"好丽友呀土豆里脊牛排味","long_name":"好丽友呀土豆里脊牛排味70g","store_nums":"200","specifics":"70g/袋","attribute":"","sort":"9","brand_id":"32","brand_name":"好丽友","hot_degree":"0","safe_day":"270","safe_unit":"1","market_price":"6","pcid":"55","partner_price":"6","ismix":"0","pre_img":"0000005945_93070.jpg","pre_imgs":"0000005945_39570.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"好丽友,呀土豆,里脊,牛排味,休闲零食,闪送超市,","product_num":"20","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103543":{"103541":"休闲零食"}},"cids":{"103543":"膨化食品"},"category_id":"103541","cid":"103541","child_cid":"103543","product_id":"5945","price":"7.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/5945/0000005945_93070.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/5945/0000005945_93070.jpg@200w_200h_90Q"}]}},{"sort":"17","func_sort":"0","activity":{"id":"21759","name":"速食好味道","img":"http://img01.bqstatic.com//upload/activity/201611291718265.jpg@90Q.jpg","topimg":"http://img01.bqstatic.com//upload/activity/201611291718265.jpg@90Q.jpg","jptype":"11","sort":"17","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"nongxinfangbiuanmian15jian3","trackid":"category1|21759"},"show_reload":"1","hide_cart":"0","trackid":"category1|21759"},"good_type":"0","shop_type":"4","category_detail":{"name":"方便速食","category_color":"1EB2A3","target_type":"12","category_id":"103557","shuf_new_img":"/upload/activity/2017111615283542.jpg","style":"1","goods":[{"id":"6009","name":"双汇王中王","long_name":"双汇王中王105g","store_nums":"200","specifics":"105g","attribute":"","sort":"30","brand_id":"74","brand_name":"双汇","hot_degree":"0","safe_day":"6","safe_unit":"2","market_price":"3.5","pcid":"55","partner_price":"3.5","ismix":"0","pre_img":"20160126164602_843009.jpg","pre_imgs":"20160126164611_134644.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"双汇,王中王,火腿肠,速食便当,闪送超市","product_num":"71","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"月","c_layer":"2","p_cids":{"103559":{"103557":"方便速食"}},"cids":{"103559":"火腿肠卤蛋"},"category_id":"103557","cid":"103557","child_cid":"103559","product_id":"6009","price":"4.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/601/2616/20160126164602_843009.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/601/2616/20160126164602_843009.jpg@200w_200h_90Q"},{"id":"6020","name":"双汇东北鸡肉香肠","long_name":"双汇东北鸡肉香肠65g","store_nums":"200","specifics":"65g","attribute":"","sort":"40","brand_id":"74","brand_name":"双汇","hot_degree":"0","safe_day":"0","safe_unit":"1","market_price":"1","pcid":"55","partner_price":"1","ismix":"0","pre_img":"0000006020.jpg","pre_imgs":"0000006020_7331.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"双汇,鸡肉,香肠,火腿肠,速食便当,闪送超市,","product_num":"80","no_col":"0","org_source_value":"2","storage":"3","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103559":{"103557":"方便速食"}},"cids":{"103559":"火腿肠卤蛋"},"category_id":"103557","cid":"103557","child_cid":"103559","product_id":"6020","price":"1.50","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/6020/0000006020.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/6020/0000006020.jpg@200w_200h_90Q"},{"id":"6661","name":"康师傅香辣牛肉面袋装","long_name":"康师傅香辣牛肉面袋装101g","store_nums":"200","specifics":"101g","attribute":"","sort":"50","brand_id":"13","brand_name":"康师傅","hot_degree":"0","safe_day":"0","safe_unit":"1","market_price":"3","pcid":"55","partner_price":"3","ismix":"0","pre_img":"20160322100208_022359.jpg","pre_imgs":"20160322100206_640169.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"康师傅,香辣牛肉,方便面,速食便当","product_num":"40","no_col":"0","org_source_value":"2","storage":"3","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103558":{"103557":"方便速食"}},"cids":{"103558":"方便面"},"category_id":"103557","cid":"103557","child_cid":"103558","product_id":"6661","price":"3.50","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/603/2210/20160322100208_022359.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/603/2210/20160322100208_022359.jpg@200w_200h_90Q"}]}},{"sort":"30","func_sort":"0","activity":{"id":"22022","name":"生活服务站","img":"http://img01.bqstatic.com//upload/activity/2017121215041823.jpg@90Q.jpg","topimg":"http://img01.bqstatic.com//upload/activity/2017121215041823.jpg@90Q.jpg","jptype":"11","sort":"30","ext_params":{"cityid":"2","bigids":"2,0","activitygroup":"shenghuofuwu","trackid":"category1|22022"},"show_reload":"1","hide_cart":"0","trackid":"category1|22022"},"good_type":"0","shop_type":"4","category_detail":{"name":"生活服务","category_color":"E80013","target_type":"12","category_id":"103575","shuf_new_img":"/upload/activity/2017121215041819.jpg","style":"1","goods":[{"id":"2550","name":"南孚7号电池","long_name":"南孚7号电池1粒","store_nums":"200","specifics":"1粒","attribute":"","sort":"4","brand_id":"114","brand_name":"南孚","hot_degree":"0","safe_day":"10","safe_unit":"3","market_price":"3","pcid":"55","partner_price":"3","ismix":"0","pre_img":"20161025111206_309923.jpg","pre_imgs":"20161025111210_092722.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"南孚,7号,电池","product_num":"54","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"年","c_layer":"2","p_cids":{"103580":{"103575":"生活用品"}},"cids":{"103580":"日常用品"},"category_id":"103575","cid":"103575","child_cid":"103580","product_id":"2550","price":"3.00","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/610/2511/20161025111206_309923.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/610/2511/20161025111206_309923.jpg@200w_200h_90Q"},{"id":"3471","name":"舒肤佳纯白清香型香皂","long_name":"舒肤佳纯白清香型香皂115g","store_nums":"200","specifics":"115g/块","attribute":"","sort":"6","brand_id":"286","brand_name":"舒肤佳","hot_degree":"0","safe_day":"1080","safe_unit":"1","market_price":"5","pcid":"55","partner_price":"5","ismix":"0","pre_img":"0000003471.jpg","pre_imgs":"0000003471_17280.jpg","cart_group_id":"0","goods_type":"0","source_id":"0","tag_ids":"","pre_state":"0","keywords":"舒肤佳,纯白,清香,香皂,生活用品","product_num":"4","no_col":"0","org_source_value":"2","storage":"1","subHeading":"","safe_unit_desc":"天","c_layer":"2","p_cids":{"103576":{"103575":"生活用品"}},"cids":{"103576":"个人护理"},"category_id":"103575","cid":"103575","child_cid":"103576","product_id":"3471","price":"5.50","number":"1000","dealer_id":"5198","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"0","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/000/000/3471/0000003471.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/000/000/3471/0000003471.jpg@200w_200h_90Q"},{"id":"129466","name":"天堂隐格三折晴雨伞","long_name":"天堂隐格三折晴雨伞1把","store_nums":"50","specifics":"1把","attribute":"","sort":"42139499","brand_id":"1394","brand_name":"天堂伞","hot_degree":"0","safe_day":"3","safe_unit":"3","market_price":"22.5","pcid":"55","partner_price":"19.5","ismix":"0","pre_img":"20180625114046_535682.jpg","pre_imgs":"20180625114053_519844.jpg","cart_group_id":"0","goods_type":"0","source_id":"1","tag_ids":"5","pre_state":"0","keywords":"天堂隐格三折晴雨伞","product_num":"100000000","no_col":"0","org_source_value":"1","storage":"1","subHeading":"","top_sort":"1","safe_unit_desc":"年","c_layer":"2","p_cids":{"103580":{"103575":"生活用品"}},"cids":{"103580":"日常用品"},"category_id":"103575","cid":"103575","child_cid":"103580","product_id":"129466","price":"19.5","number":"5","dealer_id":"5198","d_price":"19.50","had_pm":"0","_had_pm":"0","pm_desc":"","pm_list":[],"pm_info":"","is_xf":"1","pm_tags":[],"img":"http://img01.bqstatic.com/upload/goods/201/806/2511/20180625114046_535682.jpg@200w_200h_90Q","app_mimg":"http://img01.bqstatic.com/upload/goods/201/806/2511/20180625114046_535682.jpg@200w_200h_90Q"}]}}],"type":"category","sort":"7"}],"tmr_detail":""}};
            if(tmp.data.act_info[4].act_rows[0].act_rows){
                this.bannerData = tmp.data.act_info[0].act_rows;
                this.storeNav = tmp.data.act_info[4].act_rows[0].act_rows[0].chead_detail.img;
                this.storeHot = tmp.data.act_info[4].act_rows[1].act_rows[0].cactivity_detail.img;
                this.storeNew = tmp.data.act_info[4].act_rows[1].act_rows[1].cactivity_detail.img;
                for(let i=0; i<tmp.data.act_info[5].act_rows.length&&tmp.data; i++){
                    this.categoryDate.push(tmp.data.act_info[5].act_rows[i])
                }
                // this.categoryDate = homeData.data.act_info[5].act_rows;
            }
        // });
    },
    methods:{

    }
}
</script>

<style lang="less" scoped>
.home{
    margin-top: 1.1rem;
    margin-bottom: 1.1rem;
}
.store{
    width: 100%;
    background-color: #fff;
    margin: 0.1rem 0;
    padding: 0.1rem;
    box-sizing: border-box;
    .store-nav{
        img{
            width: 100%;
        }
    }
    .store-hot{
        width: 100%;
        box-sizing: border-box;
        img{
            width: 46%;
            margin: 0 1.5%;
        }
    }
}
</style>
